/*
 * @Author: 杨超
 * @Date: 2021-06-11 10:13:52
 * @LastEditTime: 2021-10-11 11:20:59
 * @LastEditors: 杨超
 * @Description:
 */
import { BudgetingApi } from '@/api'
import CommonModel from './common'

class BudgetingModel extends CommonModel {
    constructor() {
        super()
        this.api = new BudgetingApi()
    }

    // 详情
    detail(data) {
        return this.api.detail(data)
    }

    // 锁定
    lock(data) {
        return this.api.lock(data)
    }

    // 取消锁定
    unlock(data) {
        return this.api.unlock(data)
    }

    // 所属单位树结构
    managementTree() {
        return this.api.managementTree()
    }
}

export default BudgetingModel
